package com.treasure.service.commission.biz;

/**
* @Description:    积分管理
* @Author:         panxinwen
* @CreateDate:     2018/11/12 22:37
* @Version:        1.0
*/

public class IntegralUtil {



    public void statisticsIntegral(Integer price,Integer type){

        Integer value=0;

        switch (type){

            case 1://挣取收益(一元收益兑换一积分)
                value=price;
                break;
            case 2://推荐办理信用卡
                value=2;
                break;
            case 3://邀请会员
                value=5;
            default:
                break;

        }

    }

}
